{% include 'header.html' %}

<DIV CLASS="forum_table">
<H2 CLASS="main_title">
Change your password. 
</H2>
{% include 'top_msg.html' %}

<FORM METHOD="POST" action="">
    <TABLE CLASS="login_table" ALIGN="CENTER">
        <TR> </TR>
        <TR>
            <TD WIDTH="100"> Username 
                {% if form.uname.field.required %} <DIV CLASS="required">*</DIV> {% endif %}
                {% if form.uname.errors %}
                    <DIV CLASS="error"> {{form.uname.errors}} </DIV>
                {% endif %}
            </TD>
            <TD> {{uname}} </TD>
        </TR>
        <TR>
            <TD> Current Password 
                {% if form.oldpasswd.field.required %} <DIV CLASS="required">*</DIV> {% endif %}
                {% if form.oldpassswd.errors %}
                    <DIV CLASS="error"> {{form.oldpasswd.errors}} </DIV>
                {% endif %}
            </TD>
            <TD> 
              {{form.oldpasswd}} 
            </TD>
        </TR>
        <TR>
            <TD> New Password
                {% if form.newpasswd.field.required %} <DIV CLASS="required">*</DIV> {% endif %}
                {% if form.newpassswd.errors %}
                    <DIV CLASS="error"> {{form.newpasswd.errors}} </DIV>
                {% endif %}
            </TD>
            <TD> 
              {{form.newpasswd}} 
            </TD>
        </TR>
        <TR>
            <TD> Repeat Password 
                {% if form.rptpasswd.field.required %} <DIV CLASS="required">*</DIV> {% endif %}
                {% if form.rptpassswd.errors %}
                    <DIV CLASS="error"> {{form.rptpasswd.errors}} </DIV>
                {% endif %}
            </TD>
            <TD> 
              {{form.rptpasswd}} 
            </TD>
        </TR>
        <TR>     
            <TD></TD>
            <TD ALIGN="RIGHT">
                <INPUT type="submit" value="Change Password"/> 
            </TD>
        </TR>
    </TABLE>
</FORM>
</DIV>
{% include 'bottom.html' %}
